package com.zjuee.base.model.common.waster.dir;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zjuee.base.model.Description;
import com.zjuee.base.valid.Insert;
import com.zjuee.base.valid.Update;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 危废类别大类信息表
 * 
 * @author CollectWeb
 * @email mxj@zjuee.com
 * @date 2021-04-01 16:14:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("bc_danger_bclass")
public class DangerBClass extends Description {

	/*危废代码*/
	@NotBlank(message = "bdbCode can't be empty", groups = {Insert.class, Update.class})
	private String bdbCode;

	/*危废名称*/
	@NotBlank(message = "bdbName can't be empty", groups = {Insert.class, Update.class})
	private String bdbName;

	/*创建人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bdbCreator;

	/*创建时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bdbCreateTime;

	/*修改人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bdbModifier;

	/*修改时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bdbModifiedTime;

	/*备注*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bdbRemark;

}
